<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>定期存款</title>
    <link rel="stylesheet" href="../layui/css/layui.css">
    <script src="../layui/layui.js"></script>
    <script src="../js/comm-Fixed-termDeposits.js"></script>
    <link rel="stylesheet" href="../css/basic.css">
</head>

<body>
    <!-- fm-basic负责使表格居中 -->
    <form class="layui-form fm-basic" action="">
        <div class="layui-form-item">
            <label class="layui-form-label">户名</label>
            <div class="layui-input-block">
                <input type="text" name="userName" required lay-verify="required" placeholder=" " autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">身份证号</label>
            <div class="layui-input-block">
                <input type="text" name="id" required lay-verify="identity" placeholder=" " autocomplete="off" class="layui-input" maxlength="18">
            </div>
        </div>

        <div class="layui-form-item">
                <label class="layui-form-label">凭证码</label>
                <div class="layui-input-block">
                    <input type="text" name="id" required lay-verify="identity" placeholder=" " autocomplete="off" class="layui-input" maxlength="18">
                </div>
            </div>


        <div class="layui-form-item">
            <label class="layui-form-label">存入金额</label>
            <div class="layui-input-block">
                <input type="text" name="moneyIn" required lay-verify="money" placeholder=" " autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">利率</label>
            <div class="layui-input-block">
                <select name="interestRate" lay-verify="required" lay-filter="iR">
                    <option value=""></option>
                    <option value="0.3">三月 0.3</option>
                    <option value="0.4">半年 0.4</option>
                    <option value="0.5">一年 0.5</option>
                    <option value="0.6">二年 0.6</option>
                    <option value="0.7">三年 0.7</option>
                    <option value="0.8">五年 0.8</option>
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">开户日期</label>
            <div class="layui-input-block">
                <input type="text" id="date" name="date" required lay-verify="required" placeholder="" autocomplete="off" class="layui-input"
                readonly>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">存入日期</label>
            <div class="layui-input-block">
                <input type="text" id="date1" name="date1" required lay-verify="required" placeholder="" autocomplete="off" class="layui-input"
                readonly>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">客户经理号</label>
            <div class="layui-input-block">
                <input type="text" name="acNum" required lay-verify="required" placeholder=" " autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">是否凭密</label>
            <div class="layui-input-block">
                <select name="" lay-verify="required" lay-filter="dep">
                    <option value=""></option>
                    <option value="1">是</option>
                    <option value="0">否</option>
                </select>
            </div>
        </div>

        <!-- btn-center 负责让包含了提交与重置按钮居中 -->
        <div class="layui-form-item">
            <div class="layui-input-block btn-center">
                <button class="layui-btn" lay-submit lay-filter="formDemo">提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</body>
</html>
<div id="print_layer" style="display: none;">
<table class="layui-table">
    <colgroup>
      <col width="150">
      <col width="200">
    </colgroup>
    <thead>
      <tr>
        <th>数据项</th>
        <th>数据</th>
      </tr> 
    </thead>
    <tbody>
      <tr>
        <td>户名</td>
        <td id="userNameBack"></td>
      </tr>
      <tr>
        <td>证件号码</td>
        <td id="idBack"></td>
      </tr>
      <tr>
        <td>存入金额</td>
        <td id="moneyInBack"></td>
      </tr>
      <tr>
        <td>利率</td>
        <td id="interestRateBack"></td>
      </tr>
      <tr>
        <td>客户经理号</td>
        <td id="acNumBack"></td>
      </tr>
    </tbody>
  </table>
    <div class="btn-center">
    <button class="layui-btn" lay-submit lay-filter="pass">确认</button>
    </div>
</div>
<div id="pass_layer" style="display: none;">
    <form class="layui-form" style="margin-top:20px;width:90%"><div class="layui-form-item">
        <label class="layui-form-label">密码</label>
        <div class="layui-input-block">
        <input type="password" id="oldPwd" name="password" required lay-verify="pass" placeholder="请输入密码" autocomplete="off" class="layui-input" maxlength="6"> 
        </div></div><div class="layui-form-item">
        <label class="layui-form-label">确认密码</label>
        <div class="layui-input-block">
        <input type="password"  name="password" required lay-verify="confirmPwd|pass" placeholder="请输入密码" autocomplete="off" class="layui-input" maxlength="6">
        </div></div>
        <div class="layui-form-item">
        <div class="layui-input-block btn-center">
        <button class="layui-btn" lay-submit lay-filter="pass">提交</button>
        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
        </div>
    </from>
</div>